ObjectTargetParameters Class

Description

ObjectTargetParameters represents the parameters to create a ObjectTarget .

Constructor

C

void easyar_ObjectTargetParameters__ctor(easyar_ObjectTargetParameters * * Return)

C++17

ObjectTargetParameters()

C++03(Deprecated)

ObjectTargetParameters()

Java

public ObjectTargetParameters()

Kotlin

constructor()

Objective-C

+ (easyar_ObjectTargetParameters *) create

Swift

public convenience init()

C#

public ObjectTargetParameters()

bufferDictionary

Gets Buffer dictionary.

C

void easyar_ObjectTargetParameters_bufferDictionary(easyar_ObjectTargetParameters * This, easyar_BufferDictionary * * Return)

C++17

std::shared_ptr<BufferDictionary> bufferDictionary()

C++03(Deprecated)

void bufferDictionary(BufferDictionary * * Return)

Java

public @Nonnull BufferDictionary bufferDictionary()

Kotlin

fun bufferDictionary(): BufferDictionary

Objective-C

- (easyar_BufferDictionary *)bufferDictionary

Swift

public func bufferDictionary() -> BufferDictionary

C#

public virtual BufferDictionary bufferDictionary()

setBufferDictionary

Sets Buffer dictionary. obj, mtl and jpg/png files shall be loaded into the dictionay, and be able to be located by relative or absolute paths.

C

void easyar_ObjectTargetParameters_setBufferDictionary(easyar_ObjectTargetParameters * This, easyar_BufferDictionary * bufferDictionary)

C++17

void setBufferDictionary(std::shared_ptr<BufferDictionary> bufferDictionary)

C++03(Deprecated)

void setBufferDictionary(BufferDictionary * bufferDictionary)

Java

public void setBufferDictionary(@Nonnull BufferDictionary bufferDictionary)

Kotlin

fun setBufferDictionary(bufferDictionary: BufferDictionary): Unit

Objective-C

- (void)setBufferDictionary:(easyar_BufferDictionary *)bufferDictionary

Swift

public func setBufferDictionary(_ bufferDictionary: BufferDictionary) -> Void

C#

public virtual void setBufferDictionary(BufferDictionary bufferDictionary)

objPath

Gets obj file path.

C

void easyar_ObjectTargetParameters_objPath(easyar_ObjectTargetParameters * This, easyar_String * * Return)

C++17

std::string objPath()

C++03(Deprecated)

void objPath(String * * Return)

Java

public java.lang.@Nonnull String objPath()

Kotlin

fun objPath(): String

Objective-C

- (NSString *)objPath

Swift

public func objPath() -> String

C#

public virtual string objPath()

setObjPath

Sets obj file path.

C

void easyar_ObjectTargetParameters_setObjPath(easyar_ObjectTargetParameters * This, easyar_String * objPath)

C++17

void setObjPath(std::string objPath)

C++03(Deprecated)

void setObjPath(String * objPath)

Java

public void setObjPath(java.lang.@Nonnull String objPath)

Kotlin

fun setObjPath(objPath: String): Unit

Objective-C

- (void)setObjPath:(NSString *)objPath

Swift

public func setObjPath(_ objPath: String) -> Void

C#

public virtual void setObjPath(string objPath)

name

Gets target name. It can be used to distinguish targets.

C

void easyar_ObjectTargetParameters_name(easyar_ObjectTargetParameters * This, easyar_String * * Return)

C++17

std::string name()

C++03(Deprecated)

void name(String * * Return)

Java

public java.lang.@Nonnull String name()

Kotlin

fun name(): String

Objective-C

- (NSString *)name

Swift

public func name() -> String

C#

public virtual string name()

setName

Sets target name.

C

void easyar_ObjectTargetParameters_setName(easyar_ObjectTargetParameters * This, easyar_String * name)

C++17

void setName(std::string name)

C++03(Deprecated)

void setName(String * name)

Java

public void setName(java.lang.@Nonnull String name)

Kotlin

fun setName(name: String): Unit

Objective-C

- (void)setName:(NSString *)name

Swift

public func setName(_ name: String) -> Void

C#

public virtual void setName(string name)

uid

Gets the target uid. You can set this uid in the json config as a method to distinguish from targets.

C

void easyar_ObjectTargetParameters_uid(easyar_ObjectTargetParameters * This, easyar_String * * Return)

C++17

std::string uid()

C++03(Deprecated)

void uid(String * * Return)

Java

public java.lang.@Nonnull String uid()

Kotlin

fun uid(): String

Objective-C

- (NSString *)uid

Swift

public func uid() -> String

C#

public virtual string uid()

setUid

Sets target uid.

C

void easyar_ObjectTargetParameters_setUid(easyar_ObjectTargetParameters * This, easyar_String * uid)

C++17

void setUid(std::string uid)

C++03(Deprecated)

void setUid(String * uid)

Java

public void setUid(java.lang.@Nonnull String uid)

Kotlin

fun setUid(uid: String): Unit

Objective-C

- (void)setUid:(NSString *)uid

Swift

public func setUid(_ uid: String) -> Void

C#

public virtual void setUid(string uid)

meta

Gets meta data.

C

void easyar_ObjectTargetParameters_meta(easyar_ObjectTargetParameters * This, easyar_String * * Return)

C++17

std::string meta()

C++03(Deprecated)

void meta(String * * Return)

Java

public java.lang.@Nonnull String meta()

Kotlin

fun meta(): String

Objective-C

- (NSString *)meta

Swift

public func meta() -> String

C#

public virtual string meta()

setMeta

Sets meta data。

C

void easyar_ObjectTargetParameters_setMeta(easyar_ObjectTargetParameters * This, easyar_String * meta)

C++17

void setMeta(std::string meta)

C++03(Deprecated)

void setMeta(String * meta)

Java

public void setMeta(java.lang.@Nonnull String meta)

Kotlin

fun setMeta(meta: String): Unit

Objective-C

- (void)setMeta:(NSString *)meta

Swift

public func setMeta(_ meta: String) -> Void

C#

public virtual void setMeta(string meta)

scale

Gets the scale of model. The value is the physical scale divided by model coordinate system scale. The default value is 1. (Supposing the unit of model coordinate system is 1 meter.)

C

float easyar_ObjectTargetParameters_scale(easyar_ObjectTargetParameters * This)

C++17

float scale()

C++03(Deprecated)

float scale()

Java

public float scale()

Kotlin

fun scale(): Float

Objective-C

- (float)scale

Swift

public func scale() -> Float

C#

public virtual float scale()

setScale

Sets the scale of model. The value is the physical scale divided by model coordinate system scale. The default value is 1. (Supposing the unit of model coordinate system is 1 meter.)

It is needed to set the model scale in rendering engine separately.

C

void easyar_ObjectTargetParameters_setScale(easyar_ObjectTargetParameters * This, float size)

C++17

void setScale(float size)

C++03(Deprecated)

void setScale(float size)

Java

public void setScale(float size)

Kotlin

fun setScale(size: Float): Unit

Objective-C

- (void)setScale:(float)size

Swift

public func setScale(_ size: Float) -> Void

C#

public virtual void setScale(float size)